package basic;


public class Vertex {
	private DoubleXYZ dblposition = null;
	
	public Vertex(double x,double y,double z) {	
		this.dblposition= new DoubleXYZ(x,y,z);
	}
	
	public DoubleXYZ dblposition() {
		return dblposition;
	}

	
	public void setPosition(DoubleXYZ point)
	{
		this.dblposition=point;
		
	}
	
	public String toString() {
		return "position " + dblposition.toString();
	}
}
